<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登陆页面</title>
<link rel="stylesheet" type="text/css" href="css.css">
<script type="text/javascript">
function checkLogin() {
	n = document.f_login.name.value;
	p = document.f_login.password.value;

	if (n.length == 0) {
		alert("请输入用户名");
		document.f_login.name.focus();
		return false;
	}
	
	if (p.length == 0) {
		alert("请输入密码");
		document.f_login.password.focus();
		return false;
	}

	return true;
	document.f_login.submit();
}
</script>
</head>
<body bgcolor="#83b7e7">
<div class="login">
	<div class="login_titile"><img src="images/login_logo.gif" /><font color="#FF0000"></font></div>
	<div class="login_main">
		<form name="f_login" method="post" action="" onsubmit="return checkLogin();">
			<input type="hidden" name="check" value="submit" />
			<table width="100%" border="0">
				<tr>
					<td align="right">用户名:</td>
					<td><input name="name" type="text" class="txt" tabindex="1" /></td>
					<td rowspan="2"><input name="tijiao" type="submit" class="btn" tabindex="3" value="" /></td>
				</tr>
				<tr>
					<td align="right">密　码:</td>
					<td><input name="password" type="password" class="txt"  tabindex="2" /></td>
				</tr>
			</table>
		</form>
	</div>
</div>
</body>
</html>
